package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Payment entity. @author MyEclipse Persistence Tools
 */

public class Payment implements java.io.Serializable {

	// Fields

	private Long id;
	private Member member;
	private Order order;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String account;
	private Double amount;
	private String bank;
	private Timestamp expire;
	private Double fee;
	private String memo;
	private String operator;
	private String payer;
	private Timestamp paymentDate;
	private String paymentMethod;
	private String paymentPluginId;
	private String sn;
	private Integer status;
	private Integer type;
	private Set deposits = new HashSet(0);

	// Constructors

	/** default constructor */
	public Payment() {
	}

	/** minimal constructor */
	public Payment(Timestamp createDate, Timestamp modifyDate, Double amount,
			Double fee, String sn, Integer status, Integer type) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.amount = amount;
		this.fee = fee;
		this.sn = sn;
		this.status = status;
		this.type = type;
	}

	/** full constructor */
	public Payment(Member member, Order order, Timestamp createDate,
			Timestamp modifyDate, String account, Double amount, String bank,
			Timestamp expire, Double fee, String memo, String operator,
			String payer, Timestamp paymentDate, String paymentMethod,
			String paymentPluginId, String sn, Integer status, Integer type,
			Set deposits) {
		this.member = member;
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.account = account;
		this.amount = amount;
		this.bank = bank;
		this.expire = expire;
		this.fee = fee;
		this.memo = memo;
		this.operator = operator;
		this.payer = payer;
		this.paymentDate = paymentDate;
		this.paymentMethod = paymentMethod;
		this.paymentPluginId = paymentPluginId;
		this.sn = sn;
		this.status = status;
		this.type = type;
		this.deposits = deposits;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getBank() {
		return this.bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public Timestamp getExpire() {
		return this.expire;
	}

	public void setExpire(Timestamp expire) {
		this.expire = expire;
	}

	public Double getFee() {
		return this.fee;
	}

	public void setFee(Double fee) {
		this.fee = fee;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getPayer() {
		return this.payer;
	}

	public void setPayer(String payer) {
		this.payer = payer;
	}

	public Timestamp getPaymentDate() {
		return this.paymentDate;
	}

	public void setPaymentDate(Timestamp paymentDate) {
		this.paymentDate = paymentDate;
	}

	public String getPaymentMethod() {
		return this.paymentMethod;
	}

	public void setPaymentMethod(String paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public String getPaymentPluginId() {
		return this.paymentPluginId;
	}

	public void setPaymentPluginId(String paymentPluginId) {
		this.paymentPluginId = paymentPluginId;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Set getDeposits() {
		return this.deposits;
	}

	public void setDeposits(Set deposits) {
		this.deposits = deposits;
	}

}